SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 39037: MCOMPILENOTE may generate an incorrect message

DetailsAboutRate It

If a %LET statement generates an error, it's possible that MCOMPILENOTE may not catch the error. For example:

   /** Sample code that generates an error **/
   options mcompilenote=all;
   %macro test;
     %let y 100;
   %mend;  

   /** Log from running above code **/
   1    options mcompilenote=all;
   2
   3    %macro test;
   4     %let y 100;
   ERROR: Expected equal sign not found in %LET statement.
   5    %mend;
   NOTE: The macro TEST completed compilation without errors.
         2 instructions 4 bytes.

Notice that MCOMPILENOTE incorrectly states that the macro compiled without errors.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.2 TS1M09.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS1M09.3 TS1M0
Microsoft® Windows® for x649.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS1M09.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS1M09.3 TS1M0
Microsoft Windows XP Professional9.2 TS1M09.3 TS1M0
Windows Vista9.2 TS1M09.3 TS1M0
64-bit Enabled AIX9.2 TS1M09.3 TS1M0
64-bit Enabled HP-UX9.2 TS1M09.3 TS1M0
64-bit Enabled Solaris9.2 TS1M09.3 TS1M0
HP-UX IPF9.2 TS1M09.3 TS1M0
Linux9.2 TS1M09.3 TS1M0
Linux for x649.2 TS1M09.3 TS1M0
OpenVMS on HP Integrity9.2 TS1M09.3 TS1M0
Solaris for x649.2 TS1M09.3 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.